<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/menu'); ?>
<style>
    .page{display:block;overflow:hidden;margin:40px auto 0;text-align:center;}
    .page li{display:inline-block;vertical-align:top;}
    .page a{display:inline-block;margin-left:5px;vertical-align:top;padding:0 16px;height:40px;text-align:center;line-height:40px;border:#e4e4e4 1px solid;border-radius:3px;font-size:14px;}
    .page a:hover{background-color:#223fd5;border:#223fd5 1px solid;color:#fff;}
    .page li.active span{background-color:#223fd5;border:#223fd5 1px solid;margin-left:5px;vertical-align:top;padding:0 16px;height:40px;text-align:center;line-height:40px;color:#fff;border-radius:3px;font-size:14px;}
    .page span{display:inline-block;margin-left:5px;line-height:32px;vertical-align:top;}
</style>
    <div class="service_main">
        <div class="menu f_l">
            <a href="/news.html">获奖情况</a>
            <a href="/news_list.html" class="on">新闻发布</a>
        </div>
        <div class="list f_r">
            <ul>
                <?php if ($news) : ?>
                    <?php foreach ($news as $key => $val) : ?>
                        <li>
                            <div class="con">
                                <a href="<?php echo "/news_show/" . $val['id'] . ".html"; ?>" class="tit"><?php echo $val['title']; ?></a>
                                <p class="time"><?php echo $val['create_time']; ?></p>
                                <span class="show_con"><?php echo $val['describe']; ?></span>
                                <em class="more"><a href="<?php echo "/news_show/" . $val['id'] . ".html"; ?>" class="ico"></a></em>
                            </div>
                        </li>
                    <?php endforeach; ?>
                <?php endif; ?>
            </ul>
        </div>

    </div>
    <div class="page">
        <ul><?php echo $pagination; ?></ul>
    </div>
<?php $this->load->view('common/footer'); ?>